import {request} from '../../utils/http'

Page({
  data: {
    order_id: 0
  },
  onLoad(query) {
    this.setData({
      order_id: query.order_id
    })
  },
  toOrderDetail() {
    my.navigateTo({
      url: '../orderDetail/index?id=' + this.data.order_id
    });
  },
  toHome() {
    my.switchTab({url: '../index/index'})
  }
})